<%@ page import="com.webamc.common.enums.Params" %>
<%@ page import="com.webamc.config.StaticData" %>
<%@ page import="java.util.Set" %>
<%
    final String key = (String) request.getAttribute(Params.KEY);
    final String sel = (String) request.getAttribute(Params.SEL);
    final Set<String> set = StaticData.instance().getOneD(key);
%>
<select name="<%=key%>">
    <% for (String s : set) {%>
    <option <%=s.equals(sel) ? " SELECTED " : ""%> value="<%=s%>"><%=s%>
    </option>
    <%}%>
</select>